{include file="admin@public/header"/}





    <style>
        div {
            width: 100%
        }

        body {
            font: 14px/1.5 arial, \5b8b\4f53;
            color: #555
        }

        .wrapper,
        body,
        html {
            width: 100%;
            height: 100%;
            padding: 0 !important;
            margin: 0 !important;
            min-width: 1000px;
            background: #f5f5f5
        }

        a {
            color: #2386ee;
            text-decoration: none
        }

        .sidebar {
            width: 280px;
            padding: 2em .5em 2em 1em;
            box-sizing: border-box;
            overflow-y: auto
        }

        .content {
            width: calc(100vw - 300px);
            padding: 2em
        }

        .content,
        .sidebar {
            float: left;
            height: 100vh
        }

        .header_info_list,
        .table_info_list {
            width: 100%;
            margin: 0 auto;
            background: #fff
        }

        .sidebar tr td {
            border: 1px solid #e3e3e3;
            text-align: center;
            padding: 5px
        }

        .sidebar table {
            border-collapse: collapse
        }

        .sidebar thead tr {
            background: #eee !important
        }

        .sidebar a {
            color: #3cbaff
        }

        .header_info_list tr:nth-child(odd),
        .table_info_list tr:nth-child(odd) {
            background: #f8f8f8
        }

        .table_info_list input[type=checkbox] {
            cursor: pointer
        }

        .sidebar-title::after {
            content: '';
            display: block;
            clear: both;
        }

        .ico-drag {
            display: block;
            background: #979797;
            height: 1em;
            width: 1.6em;
            position: relative;
            margin: 0 auto;
            cursor: move
        }

        .ico-drag::after,
        .ico-drag::before {
            content: '';
            display: block;
            position: absolute;
            width: 100%;
            background: #979797;
            border-top: 1px solid #fff;
            border-bottom: 1px solid #fff;
            height: 4px;
            bottom: 2px
        }

        .ico-drag::before {
            top: 2px;
            bottom: unset
        }

        .modal {
            z-index: 9999 !important
        }

        .modal-backdrop {
            z-index: 9998 !important
        }

        .btn-save {
            width: 80px;
            height: 32px;
            background: #3cbaff;
            border-radius: 2px;
            float: right;
            border: none;
            color: #fff
        }

        .content>form {
            color: #878d98
        }

        .modal-header {
            background: #eee;
            border-top-left-radius: 6px;
            border-top-right-radius: 6px;
            font-weight: 700;
            height: 40px;
            line-height: 40px;
            padding: 10px 15px !important
        }

        .modal-body {
            padding: 24px 30px !important
        }

        .modal-footer {
            height: 56px !important;
            padding: 0 15px !important;
            line-height: 56px
        }

        #save-setting {
            background-color: #3cbaff;
            border: none
        }

        label.arrow-exchange {
            display: inline-block;
            position: relative;
            width: 30px;
            height: 8px;
            border-top: 2px solid;
            border-bottom: 2px solid;
            margin: 0 1em 0 0;
            cursor: pointer
        }

        label.arrow-exchange::after,
        label.arrow-exchange::before {
            position: absolute;
            content: '';
            display: block;
            border: 3px solid;
            width: 0;
            height: 0;
            border-top-color: transparent;
            border-right-color: transparent;
            border-bottom-color: transparent;
            bottom: 2px;
            transform: rotate(180deg);
            left: -5px
        }

        label.arrow-exchange::after {
            top: 2px;
            right: -5px;
            left: unset;
            border-right: 3px solid;
            border-left-color: transparent;
            transform: rotate(180deg)
        }

        .video-icon {
            display: inline-block;
            background: url(/css/img/video.svg) no-repeat center;
            width: 18px;
            height: 18px;
            background-size: 18px 18px;
            vertical-align: middle
        }
  
        .edui-default .edui-toolbar .edui-button .edui-icon:before, .edui-default .edui-toolbar .edui-menubutton .edui-icon:before, .edui-default .edui-toolbar .edui-splitbutton .edui-icon:before{content: "";}



       

    </style>


    <link href="/public/static/admin/template-create/admin/print-html/dist/themes/notadd/css/neditor.css" type="text/css" rel="stylesheet">
    <script src="/public/static/admin/template-create/admin/print-html/dist/third-party/codemirror/codemirror.js" type="text/javascript" defer="defer"></script>
    <link rel="stylesheet" type="text/css" href="/public/static/admin/template-create/admin/print-html/dist/third-party/codemirror/codemirror.css">
    <script src="/public/static/admin/template-create/admin/print-html/dist/third-party/zeroclipboard/ZeroClipboard.js" type="text/javascript" defer="defer"></script>


    <script type="text/javascript" charset="utf-8" src="/public/static/admin/template-create/admin/print-html/dist/neditor-d0d9649a6f.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/public/static/admin/template-create/admin/print-html/dist/neditor.all.min.js"> </script>
    <script type="text/javascript" charset="utf-8" src="/public/static/admin/template-create/admin/print-html/dist/i18n/zh-cn/zh-cn.js"></script>


<!-- <script src="https://images.youshang.com/saas/scm/vip2_gd/js/common/addedServiceData.js"></script> -->

<div class="wrapper" style="display: flex;">
    <div class="sidebar">
        <p class="sidebar-title">
            <b>单据信息&nbsp;</b>
            <span style="font-size:12px;color:#999" title="可复制需要打印的单据信息，粘贴到右侧编辑区域">可复制需要打印的单据信息，粘贴到右侧编辑区域</span>
        </p>
        <div style="margin-bottom:40px">
            <div style="height:350px;overflow-y:auto">
                <table cellspacing="0" cellpadding="0" class="header_info_list">
                    <thead>
                        <tr>
                            <td>序号</td>
                            <td>名称</td>
                            <td>操作</td>
                        </tr>
                    </thead>
                    <tbody>
                        <tr data-code="CName">
                          <td>1</td><td>【公司名称】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="公司名称：【公司名称】">复制</a></td>
                        </tr>
                      
                        <tr data-code="FBUNO">
                          <td>2</td><td>【客户编号】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="客户编号：【客户编号】">复制</a></td>
                        </tr>
                      
                        <tr data-code="FCRName">
                          <td>3</td><td>【客户名称】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="客户名称：【客户名称】">复制</a></td>
                        </tr>
                      
                        <tr data-code="FEmpName">
                          <td>4</td><td>【销售人员】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="销售人员：【销售人员】">复制</a></td>
                        </tr>
                      
                        <tr data-code="FCRContact">
                          <td>5</td><td>【客户联系人姓名】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="客户联系人姓名：【客户联系人姓名】">复制</a></td>
                        </tr>
                      
                        <tr data-code="FCRMobile">
                          <td>6</td><td>【客户联系人手机】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="客户联系人手机：【客户联系人手机】">复制</a></td>
                        </tr>
                      
                        <tr data-code="FCRTel">
                          <td>7</td><td>【客户联系人座机】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="客户联系人座机：【客户联系人座机】">复制</a></td>
                        </tr>
                      
                        <tr data-code="linkManAddr">
                          <td>8</td><td>【客户联系人地址】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="客户联系人地址：【客户联系人地址】">复制</a></td>
                        </tr>
                      
                        <tr data-code="FDate">
                          <td>9</td><td>【单据日期】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="单据日期：【单据日期】">复制</a></td>
                        </tr>
                      
                        <tr data-code="FBillNO">
                          <td>10</td><td>【单据编号】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="单据编号：【单据编号】">复制</a></td>
                        </tr>
                      
                        <tr data-code="code-FBillNO">
                          <td>11</td><td>【单据编号(条形码)】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="单据编号(条形码)：【单据编号(条形码)】">复制</a></td>
                        </tr>
                      
                        <tr data-code="FRate">
                          <td>12</td><td>【优惠率(%)】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="优惠率(%)：【优惠率(%)】">复制</a></td>
                        </tr>
                      
                        <tr data-code="FDeAmount">
                          <td>13</td><td>【收款优惠】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="收款优惠：【收款优惠】">复制</a></td>
                        </tr>
                      
                        <tr data-code="POSTFEE">
                          <td>14</td><td>【客户承担费用】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="客户承担费用：【客户承担费用】">复制</a></td>
                        </tr>
                      
                        <tr data-code="rpAmount">
                          <td>15</td><td>【本次收款】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="本次收款：【本次收款】">复制</a></td>
                        </tr>
                      
                        <tr data-code="FPayAcct">
                          <td>16</td><td>【结算账户】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="结算账户：【结算账户】">复制</a></td>
                        </tr>
                      
                        <tr data-code="arrears">
                          <td>17</td><td>【本次欠款】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="本次欠款：【本次欠款】">复制</a></td>
                        </tr>
                      
                        <tr data-code="totalArrears">
                          <td>18</td><td>【总欠款】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="总欠款：【总欠款】">复制</a></td>
                        </tr>
                      
                        <tr data-code="TotalQTY">
                          <td>19</td><td>【数量】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="数量：【数量】">复制</a></td>
                        </tr>
                      
                        <tr data-code="TotalDisAmount">
                          <td>20</td><td>【折扣额】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="折扣额：【折扣额】">复制</a></td>
                        </tr>
                      
                        <tr data-code="TotalNoTaxAmout">
                          <td>21</td><td>【金额】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="金额：【金额】">复制</a></td>
                        </tr>
                      
                        <tr data-code="CapitalizedAmount">
                          <td>22</td><td>【金额大写】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="金额大写：【金额大写】">复制</a></td>
                        </tr>
                      
                        <tr data-code="FDesc">
                          <td>23</td><td>【备注】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="备注：【备注】">复制</a></td>
                        </tr>
                      
                        <tr data-code="FUserName">
                          <td>24</td><td>【制单人】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="制单人：【制单人】">复制</a></td>
                        </tr>
                      
                        <tr data-code="YhhAmountMin">
                          <td>25</td><td>【优惠后金额】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="优惠后金额：【优惠后金额】">复制</a></td>
                        </tr>
                      
                        <tr data-code="CapitalizedYhhAmountMin">
                          <td>26</td><td>【优惠后金额大写】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="优惠后金额大写：【优惠后金额大写】">复制</a></td>
                        </tr>
                      
                        <tr data-code="contactAddr">
                          <td>27</td><td>【客户地址】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="客户地址：【客户地址】">复制</a></td>
                        </tr>
                      
                        <tr data-code="CapitalizedRpAmount">
                          <td>28</td><td>【本次收款金额大写】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="本次收款金额大写：【本次收款金额大写】">复制</a></td>
                        </tr>
                      
                        <tr data-code="CapitalizedTotalArrears">
                          <td>29</td><td>【总欠款金额大写】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="总欠款金额大写：【总欠款金额大写】">复制</a></td>
                        </tr>
                      
                        <tr data-code="CapitalizedArrears">
                          <td>30</td><td>【本次欠款金额大写】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="本次欠款金额大写：【本次欠款金额大写】">复制</a></td>
                        </tr>
                      
                        <tr data-code="TotalTax">
                          <td>31</td><td>【税额】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="税额：【税额】">复制</a></td>
                        </tr>
                      
                        <tr data-code="TotalAmout">
                          <td>32</td><td>【价税合计】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="价税合计：【价税合计】">复制</a></td>
                        </tr>
                      
                        <tr data-code="udf_1_value">
                          <td>33</td><td>【快递单号】</td><td><a href="javascript:void(0)" class="copy-btn" data-clipboard-text="快递单号：【快递单号】">复制</a></td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <div>
            <p style="display:flex;justify-content:space-between"><b>分录设置</b><a href="#" data-toggle="modal"
                    id="more-settings" data-target="#myModal" style="font-size:12px">更多设置</a></p>
            <div style="height:350px;overflow-y:auto">
                <table class="table_info_list" cellspacing="0" cellpadding="0" drag="true" id="grid1" style="width: 100%;">
                    <thead>
                        <tr>
                            <td>排序</td>
                            <td>字段名称</td>
                            <td>操作</td>
                        </tr>
                    </thead>
                    <tbody>
                        <tr data-key="Entries">
                          <td><span class="ico-drag"></span></td><td><span>序号</span></td><td><input type="checkbox"></td>
                        </tr>
                        <tr data-key="FInvNO">
                          <td><span class="ico-drag"></span></td><td><span>商品编号</span></td><td><input type="checkbox"></td>
                        </tr><tr data-key="FPNname">
                          <td><span class="ico-drag"></span></td><td><span>商品名称</span></td><td><input type="checkbox" checked=""></td>
                        </tr><tr data-key="invSpec">
                          <td><span class="ico-drag"></span></td><td><span>商品规格</span></td><td><input type="checkbox"></td>
                        </tr>
                        <tr data-key="FBarcode">
                          <td><span class="ico-drag"></span></td><td><span>商品条码</span></td><td><input type="checkbox"></td>
                        </tr>
                        <tr data-key="code-FBarcode">
                          <td><span class="ico-drag"></span></td><td><span>商品条码(条形码)</span></td><td><input type="checkbox"></td>
                        </tr>
                        <tr data-key="FUnit">
                          <td><span class="ico-drag"></span></td><td><span>单位</span></td><td><input type="checkbox"></td>
                        </tr>
                        <tr data-key="FLocation">
                          <td><span class="ico-drag"></span></td><td><span>仓库</span></td><td><input type="checkbox"></td>
                        </tr>
                        <tr data-key="FQty">
                          <td><span class="ico-drag"></span></td><td><span>数量</span></td><td><input type="checkbox" checked=""></td>
                        </tr>
                        <tr data-key="price">
                          <td><span class="ico-drag"></span></td><td><span>销售单价</span></td><td><input type="checkbox"></td>
                        </tr>
                        
                        <tr data-key="FDiscount">
                          <td><span class="ico-drag"></span></td><td><span>折扣率(%)</span></td><td><input type="checkbox"></td>
                        </tr>
                        
                        <tr data-key="FDisAmount">
                          <td><span class="ico-drag"></span></td><td><span>折扣额</span></td><td><input type="checkbox"></td>
                        </tr>
                        
                        <tr data-key="FDiscountPrice">
                          <td><span class="ico-drag"></span></td><td><span>折后单价</span></td><td><input type="checkbox"></td>
                        </tr>
                        
                        <tr data-key="FNoTaxAmount">
                          <td><span class="ico-drag"></span></td><td><span>销售金额</span></td><td><input type="checkbox"></td>
                        </tr>
                        
                        <tr data-key="FFLDesc">
                          <td><span class="ico-drag"></span></td><td><span>分录备注</span></td><td><input type="checkbox"></td>
                        </tr>
                        
                        <tr data-key="customerInvNumber">
                          <td><span class="ico-drag"></span></td><td><span>客户物料编码</span></td><td><input type="checkbox"></td>
                        </tr>
                        
                        <tr data-key="FInvSernums">
                          <td><span class="ico-drag"></span></td><td><span>序列号</span></td><td><input type="checkbox"></td>
                        </tr>
                        
                        <tr data-key="taxPrice">
                          <td><span class="ico-drag"></span></td><td><span>含税单价</span></td><td><input type="checkbox"></td>
                        </tr>
                        
                        <tr data-key="FTaxRate">
                          <td><span class="ico-drag"></span></td><td><span>税率</span></td><td><input type="checkbox"></td>
                        </tr>
                        
                        <tr data-key="FTax">
                          <td><span class="ico-drag"></span></td><td><span>税额</span></td><td><input type="checkbox"></td>
                        </tr>
                        
                        <tr data-key="FAmount">
                          <td><span class="ico-drag"></span></td><td><span>价税合计</span></td><td><input type="checkbox"></td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <div class="content">
        <form class="form-inline"><input type="button" id="save_template" class="btn-save" value="保存">
            <div>
                <!-- <a href="https://club.kingdee.com/club/newclub/school/course?product_id=7&cid=1737#pid=6417"
                    target="_blank" class="video-icon"></a> -->
                <!-- <a style="color:#3cbaff;display:inline-block;vertical-align:middle" href="https://club.kingdee.com/club/newclub/school/course?product_id=7&cid=1737#pid=6417" target="_blank">查看操作视频</a> -->
            </div>
            <div class="form-group"><label for="template_name">模板名称</label> 
                <input placeholder="请输入模板名称" type="text" style="width:320px;height:32px;margin-right:1em" id="template_name" class="form-control"> 
                <input type="checkbox" id="set_as_default"><label for="set_as_default">设为默认模板</label>
            </div>
            <div class="form-group" style="margin-top:1em">
                <label for="preset_paper_size">预设纸张</label> 
                <select style="height:32px;margin-right:1em" class="form-control" id="preset_paper_size" name="preset_paper_size">
                    <option value="diy">自定义</option>
                    <option value="a1">A1(594*841mm)</option>
                    <option value="a2">A2(420*594mm)</option>
                    <option value="a3">A3(297*420mm)</option>
                    <option value="a4" selected>A4(210*297mm)</option>
                    <option value="a5">A5(148*210mm)</option>
                    <option value="b4">B4(257*364mm)</option>
                    <option value="b5">B5(182*257mm)</option>
                    <option value="ticket50">小票(58mm)</option>
                    <option value="ticket80">小票(80mm)</option>
                    <option value="ticket110">小票(110mm)</option>
                    <option value="letter">明信片(100*148mm)</option>
                </select>
                <div style="display:inline" id="size-block">
                    <label for="editor_width">宽度/mm</label> 
                    <input type="text" id="editor_width" style="width:80px;height:32px;margin-right:1em" class="form-control" style="width:4em;margin-right:1em"> 
                    <label id="exchange" class="arrow-exchange"></label> 
                    <label for="editor_height">高度/mm</label> 
                    <input type="text" id="editor_height" style="width:80px;height:32px;margin-right:1em" class="form-control" style="width:4em;margin-right:1em">
                </div>
            </div>
            <div class="form-group" style="margin:1em 0">
                <div>
                    <label for="margin_left">左边距/mm</label> 
                    <input value="5" type="text" id="margin_left" style="width:80px;height:32px;margin-right:1em" class="form-control" style="width:4em;margin-right:1em"> 
                    <label for="margin_top">上边距/mm</label> 
                    <input value="5" type="text" id="margin_top" style="width:80px;height:32px;margin-right:1em" class="form-control" style="width:4em;margin-right:1em">
                </div>
            </div>
        </form>
        <!-- <script id="editor" type="text/plain" style="width: 100% !important;height:calc(100vh - 140px);"></script> -->
        <textarea  id="editor" type="text/plain" style="width: 100% !important;height:calc(100vh - 140px);"></textarea>
        <!-- <div style="height: 30px;"></div> -->
    </div>
</div>
<div id="my_mm" style="height:100mm;display:none"></div>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"
    style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <p class="modal-title" id="myModalLabel">更多设置</p>
            </div>
            <div class="modal-body"><b>勾选合计栏需要显示的字段</b><br>
                <table style="width:100%;margin-top:1em" id="setting-table">
                    <tr>
                        <td><input data-type="discount" type="checkbox" id="cb2">&nbsp;&nbsp;<label for="cb2">显示折扣额合计</label></td>
                    </tr>
                    <tr>
                        <td><input type="checkbox" data-type="count" id="cb1">&nbsp;&nbsp;<label for="cb1">显示数量合计</label></td>
                    </tr>
                    <tr>
                        <td><input data-type="tax" type="checkbox" id="cb4">&nbsp;&nbsp;<label for="cb4">显示税额合计</label></td>
                    </tr>
                    <tr>
                        <td><input type="checkbox" data-type="money" id="cb3">&nbsp;&nbsp;<labelfor="cb3">显示金额合计</label></td>
                    </tr>
                    <tr>
                        <td><input type="checkbox" data-type="sum" id="cb5">&nbsp;&nbsp;<label for="cb5">显示价税合计</label></td>
                        <td></td>
                    </tr>
                </table>
            </div>
            <div class="modal-footer"><button type="button" id="save-setting" class="btn btn-primary">提交更改</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>


    <script src="/public/static/admin/template-create/admin/print-html/dist/scripts/libs/clipboard.js"></script>
    <link rel="stylesheet" href="/public/static/admin/template-create/admin/print-html/dist/scripts/libs/bootstrap.css">
    <script src="/public/static/admin/template-create/admin/print-html/dist/scripts/libs/bootstrap.js"></script>
    <script src="/public/static/admin/template-create/admin/print-html/dist/scripts/libs/htmlparser.js"></script>
    <script src="/public/static/admin/template-create/admin/print-html/dist/scripts/libs/html2json.js"></script>
    <script src="/public/static/admin/template-create/admin/print-html/dist/scripts/renderStrats-7c9614faa3.js"></script>
    <script src="/public/static/admin/template-create/admin/print-html/dist/scripts/index-e739162695.js"></script>

    <!-- <script src="https://vip2-hz.jdy.com/settings/printTemplates.jsp?type=10201"></script> -->

    <!-- 默认文本域展示的内容 -->
    <div id="html" style="display: none;">
        <p data-code="undefined" style="text-align: center;">
            <span style="font-size: 20px;">【公司名称】</span>
        </p>
        <p data-code="undefined" style="text-align: center;">
            <span style="font-size: 14px;">销货单</span>
        </p>
        <p data-code="undefined">
            <br/>
        </p>
        <table data-sort="sortDisabled" >
            <tbody>
                <tr class="firstRow">
                    <td valign="top" colspan="2" data-code="undefined" style="word-break: break-all;border-color:#fff;" width="716">
                        公司地址：此处输入公司地址
                    </td>
                </tr>
                <tr>
                    <td valign="top" colspan="2" data-code="undefined" style="word-break: break-all;border-color:#fff;" width="0">
                        联系方式：此处输入公司联系方式
                    </td>
                </tr>
                <tr>
                    <td width="348" valign="top" data-code="undefined" style="word-break: break-all;border-color:#fff;">
                        客户名称：【客户名称】
                    </td>
                    <td width="348" valign="top" data-code="undefined" style="word-break: break-all;border-color:#fff;">
                        销售人员：【销售人员】
                    </td>
                </tr>
                <tr>
                    <td width="348" valign="top" data-code="undefined" style="word-break: break-all;border-color:#fff;">
                        单据日期：【单据日期】
                    </td>
                    <td width="348" valign="top" data-code="undefined" style="word-break: break-all;border-color:#fff;">
                        单据编号：【单据编号】
                    </td>
                </tr>
                <tr>
                    <td valign="top" data-code="undefined" style="word-break: break-all;border-color:#fff;" colspan="2" width="0">
                        备注：【备注】
                    </td>
                </tr>
            </tbody>
        </table>
        <table >
            <tbody style="text-align:center;border-color:#000;">
                <tr class="firstRow">
                    <td width="84" valign="top" style="word-break: break-all; border-color: rgb(0, 0, 0);" height="23">
                        序号
                    </td>
                    <td width="84" valign="top" style="word-break: break-all; border-color: rgb(0, 0, 0);" height="23">
                        商品名称
                    </td>
                    <td width="84" valign="top" style="word-break: break-all; border-color: rgb(0, 0, 0);" height="23">
                        单位
                    </td>
                    <td width="84" valign="top" style="word-break: break-all; border-color: rgb(0, 0, 0);" height="23">
                        数量
                    </td>
                    <td width="84" valign="top" style="word-break: break-all; border-color: rgb(0, 0, 0);" height="23">
                        销售单价
                    </td>
                    <td width="84" valign="top" style="word-break: break-all; border-color: rgb(0, 0, 0);" height="23">
                        折扣额
                    </td>
                    <td width="84" valign="top" style="word-break: break-all; border-color: rgb(0, 0, 0);" height="23">
                        销售金额
                    </td>
                </tr>
                <tr>
                    <td width="84" valign="top" style="word-break: break-all; border-color: rgb(0, 0, 0);">
                        【序号】
                    </td>
                    <td width="84" valign="top" style="word-break: break-all; border-color: rgb(0, 0, 0);">
                        【商品名称】
                    </td>
                    <td width="84" valign="top" style="word-break: break-all; border-color: rgb(0, 0, 0);">
                        【单位】
                    </td>
                    <td width="84" valign="top" style="word-break: break-all; border-color: rgb(0, 0, 0);">
                        【数量】
                    </td>
                    <td width="84" valign="top" style="word-break: break-all; border-color: rgb(0, 0, 0);">
                        【销售单价】
                    </td>
                    <td width="84" valign="top" style="word-break: break-all; border-color: rgb(0, 0, 0);">
                        【折扣额】
                    </td>
                    <td width="84" valign="top" style="word-break: break-all; border-color: rgb(0, 0, 0);">
                        【销售金额】
                    </td>
                </tr>
                <tr>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【序号】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【商品名称】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【单位】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【数量】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【销售单价】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【折扣额】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【销售金额】
                    </td>
                </tr>
                <tr>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【序号】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【商品名称】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【单位】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【数量】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【销售单价】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【折扣额】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【销售金额】
                    </td>
                </tr>
                <tr>
                    <td width="84" valign="top" style="word-break: break-all;border-color:#000;">
                        【序号】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【商品名称】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【单位】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【数量】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【销售单价】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【折扣额】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【销售金额】
                    </td>
                </tr>
                <tr>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【序号】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【商品名称】
                    </td>
                    <td width="84" valign="top" style="word-break: break-all;border-color:#000;" data-code="undefined">
                        【单位】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【数量】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【销售单价】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【折扣额】
                    </td>
                    <td width="84" valign="top" data-code="undefined" style="word-break: break-all;border-color:#000;">
                        【销售金额】
                    </td>
                </tr>
                <tr>
                    <td width="84" valign="top" style="word-break: break-all; border-color: rgb(0, 0, 0);">
                        合计
                    </td>
                    <td width="84" valign="top" style="border-color:#000;"></td>
                    <td width="84" valign="top" style="border-color:#000;"></td>
                    <td width="84" valign="top" style="word-break: break-all; border-color: rgb(0, 0, 0);">
                        【数量】
                    </td>
                    <td width="84" valign="top" style="border-color:#000;"></td>
                    <td width="84" valign="top" style="border-color:#000;"></td>
                    <td width="84" valign="top" style="word-break: break-all; border-color: rgb(0, 0, 0);">
                        【销售金额】
                    </td>
                </tr>
            </tbody>
        </table>
        <table>
            <tbody>
                <tr class="firstRow">
                    <td width="348" valign="top" data-code="undefined" style="word-break: break-all;border-color:#fff;">
                        收款优惠：【收款优惠】
                    </td>
                    <td width="348" valign="top" data-code="undefined" style="word-break: break-all;border-color:#fff;">
                        本次欠款：【本次欠款】
                    </td>
                </tr>
                <tr>
                    <td width="348" valign="top" style="word-break: break-all;border-color:#fff;">
                        本次收款：【本次收款】
                    </td>
                    <td width="348" valign="top" data-code="undefined" style="word-break: break-all;border-color:#fff;">
                        金额大写：【金额大写】
                    </td>
                </tr>
                <tr>
                    <td width="348" valign="top" data-code="undefined" style="word-break: break-all;border-color:#fff;">
                        结算账户：【结算账户】
                    </td>
                    <td width="348" valign="top" data-code="undefined" style="word-break: break-all;border-color:#fff;">
                        制单人：【制单人】
                    </td>
                </tr>
                <tr>
                    <td width="348" valign="top" data-code="undefined" style="word-break: break-all;border-color:#fff;">
                        签收人：
                    </td>
                    <td width="348" valign="top" data-code="undefined" style="word-break: break-all;border-color:#fff;">
                        开票单位（盖章）：
                    </td>
                </tr>
            </tbody>
        </table>
        <p>
            <br/>
         &nbsp; &nbsp; &nbsp; &nbsp;
        </p>
    </div>


<script type="text/javascript">
    
        var content='';
        var ue = UE.getEditor('editor',{
            toolbars: [
                ['source', 'fullscreen', "undo", "redo", 'bold', 'italic', 'underline', 'fontborder', 'forecolor', 'backcolor', 'rowspacingtop', 'rowspacingbottom', 'lineheight', 'paragraph', 'fontfamily', 'fontsize','directionalityltr', 'directionalityrtl', 'indent', 'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', 'imagenone', 'imageleft', 'imageright', 'imagecenter', 'insertimage', 'background', 'horizontal', 'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols'],
            ],
            // autoHeightEnabled: false,
            autoFloatEnabled: !0,
            initialFrameWidth: '100%',
            elementPathEnabled: !0,
            wordCount: !0,
            enableContextMenu: !0,
            autotypeset: {
                removeEmptyline: !0,
                clearFontSize: !0,
                clearFontFamily: !0
            },
            retainOnlyLabelPasted: !0,
            initialContent: [content].join(""),
            autoClearinitialContent: !0,
        });

        // 设置编辑内容
        var editorContent=$("#html").html();
        // editor准备好之后才可以使用
        ue.addListener("ready", function () {
        　　// 设置编辑的内容
        　　ue.setContent(editorContent);
        });
</script>

<script>
    $(document).ready(function () {
        // $("#grid1").jqGrid({
		// 	url: '/sales/Salessummarygoods/index.html?ajax=100',
		// 	datatype: "json",//数据来源，本地数据（local，json,jsonp,xml等）
		// 	height: '100%',//高度，表格高度。可为数值、百分比或'auto'
		// 	width: '260px',
        //     colNames:["排序","字段名称","操作"],
        //     colModel:[
        //         { name: '', index: '', width:45, label: "排序" },
        //         { name: '', index: '', width:130, label: "字段名称" },
        //         { name: '', index: '', width:45, label: "操作" },
        //     ],
        //     drag:true,
        //     loadError: function (t, e, i) {
		// 		parent.Public.tips({
		// 			type: 1,
		// 			content: "操作失败了哦，请检查您的网络链接！"
		// 		})
		// 	},
        // });

    });
</script>

{include file="admin@public/footer"/}